package com.fengzhuang;

public class Test02 {
    String xingMing;
    double shengGao;
    double tiZhong;

    public Test02() {

    }

    public Test02(String xingMing, double shengGao, double tiZhong) {
        this.xingMing = xingMing;
        this.shengGao = shengGao;
        this.tiZhong = tiZhong;
    }

    public String getXingMing() {
        return xingMing;
    }

    public void setXingMing(String xingMing) {
        this.xingMing = xingMing;
    }

    public double getShengGao() {
        return shengGao;
    }

    public void setShengGao(int shengGao) {
        this.shengGao = shengGao;
    }

    public double getTiZhong() {
        return tiZhong;
    }

    public void setTiZhong(double tiZhong) {
        this.tiZhong = tiZhong;
    }

    public void show() {
        System.out.println("我的女朋友叫" + xingMing + "，身高" + shengGao + "厘米，体重" + tiZhong + "斤。");
    }

    public void wash() {
        System.out.println("女朋友帮我洗衣服");
    }

    public void cook() {
        System.out.println("女朋友帮我做饭");
    }
}
